public class Class3 {
    public static void main(String[] args) {
        Thread t=new Thread(){
            public void run(){
                System.out.println("Hello Thread");
            }
        };
        t.start();
    }
}
